package com.dragon.modules.yuegou.model.merchant;

import com.dragon.modules.yuegou.entity.merchant.ActivityFaqColumnEntity;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 咨询栏目模型类
 * 
 * @author pbuilder generated
 * @date 2019-09-23 15:33:00
 * @company sgy
 * @version 2.0
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class ActivityFaqColumn extends ActivityFaqColumnEntity {

	private List<ActivityFaq> activityFaqs;
	
	public List<ActivityFaq> getActivityFaqs() {
		return activityFaqs;
	}

	public void setActivityFaqs(List<ActivityFaq> activityFaqs) {
		this.activityFaqs = activityFaqs;
	}

	/**
	 * 构造一个空咨询栏目模型对象
	 */
	public ActivityFaqColumn(){
		super();
	}
	
	/**
	 * 依据实体对象的信息构造一个咨询栏目模型对象
	 * 
	 * @param entity 实体对象
	 */
	public ActivityFaqColumn(ActivityFaqColumnEntity entity){
		super(entity);
	}

	/**
	 * 依据其它对象的信息构造一个咨询栏目模型对象
	 * 
	 * @param other 其它对象
	 */
	public ActivityFaqColumn(ActivityFaqColumn other){
		super(other);
	}


	@Override
	public String getId() {
    	return id;
    }

    /**
	 * 设置
	 * 
	 * @param id 
	 * @return 当前对象
	 */
    public ActivityFaqColumn id(String id) {
    	this.id = id;
    	return this;
    }

	@Override
	public String getBusdId() {
    	return busdId;
    }

    /**
	 * 设置商圈Id
	 * 
	 * @param busdId 商圈Id
	 * @return 当前对象
	 */
    public ActivityFaqColumn busdId(String busdId) {
    	this.busdId = busdId;
    	return this;
    }

	@Override
	public Integer getSortNo() {
    	return sortNo;
    }

    /**
	 * 设置排序
	 * 
	 * @param sortNo 排序
	 * @return 当前对象
	 */
    public ActivityFaqColumn sortNo(Integer sortNo) {
    	this.sortNo = sortNo;
    	return this;
    }

	@Override
	public String getColumnName() {
    	return columnName;
    }

    /**
	 * 设置栏目名称
	 * 
	 * @param columnName 栏目名称
	 * @return 当前对象
	 */
    public ActivityFaqColumn columnName(String columnName) {
    	this.columnName = columnName;
    	return this;
    }
}
